﻿<div id="datagrid1" class="mini-datagrid" style="width:100%;height:100%;"
     showPager="false" showPageSize="false" showPageIndex="false" skipReadOnlyCell="true"
     allowCellSelect="true" allowSortColumn="false" allowCellEdit="true" navEditMode="true"
     editNextOnEnterKey="true" editNextRowCell="false"
     ondrawcell="onDrawCell" oncellcommitedit="onCellCommitEditMy"  ondrawsummarycell="onDrawSummaryCell" showSummaryRow="true" 
     onrowdblclick="onRowDblClick" fitColumns="false" oncelleditenter="onCelleditenter">
    <div property="columns">
        <div type="indexcolumn" width="35" headerAlign="center">序号</div>
        <div field="mFNumber" name="mFNumber" displayField="mFNumber" width="120" headerAlign="center">商品编码
            <input property="editor" class="mini-buttonedit" onbuttonclick="onButtonEditMy" onvaluechanged="onValueChangedMy" style="width:100%;" />
        </div>
        <div field="mFName" name="mFName" width="160" headerAlign="center">商品名称</div>
        <div field="mFModel" name="mFModel" width="100" headerAlign="center">规格型号</div>
        <div field="mFUnitName" name="mFUnitName" width="40" headerAlign="center">单位</div>
        <div field="mFQty" name="mFQty" width="70" headerAlign="center" align="right">数量
            <input property="editor" class="mini-spinner" maxValue="99999999" style="width:100%;" changeOnMousewheel="false" showbutton="false" increment="0" />
        </div>
        <div field="mFSetQty" name="mFSetQty" width="70" headerAlign="center" align="right">赠送数量
            <input property="editor" class="mini-spinner" maxValue="99999999" style="width:100%;" changeOnMousewheel="false" showbutton="false" increment="0" />
        </div>
        <div field="mFPrice" name="mFPrice" width="70" numberFormat="#,0.00" headerAlign="center" align="right">单价
            <input property="editor" class="mini-spinner" maxValue="99999999" style="width:100%;" changeOnMousewheel="false" showbutton="false" increment="0" />
        </div>
        <div field="mFAmount" name="mFAmount" numberFormat="#,0.00" width="90" headerAlign="center" align="right" summaryType="sum">金额
            <input property="editor" class="mini-spinner" maxValue="99999999" style="width:100%;" changeOnMousewheel="false" showbutton="false" increment="0" />
        </div>
        <div field="mFCode" name="mFCode" width="120" headerAlign="center">商品条码</div>
        <div field="mFQty_Pur" name="mFQty_Pur" numberFormat="#,0.00" width="70" headerAlign="center" align="right">订单数量</div>        
        <div field="mFBillNo_Pur" name="mFBillNo_Pur" width="120" headerAlign="center">订单编号</div>
        <div field="mFRemark" name="mFRemark" width="150" headerAlign="center">备注
            <input property="editor" class="mini-textbox" style="width:100%;" />
        </div>
        <div field="mFBatchNumber" name="mFBatchNumber" width="100" headerAlign="center">批号
            <input property="editor" class="mini-textbox" style="width:100%;" />
        </div>
        <div field="mFMakedate" name="mFMakedate" headerCls="CellLast" width="100" dateformat="yyyy-MM-dd" headerAlign="center">生产日期
            <input property="editor" class="mini-datepicker" format="yyyy-MM-dd" style="width:107px;" value = ""/>
        </div>
        <div field="mFWarranty" name="mFWarranty" headerCls="CellLast" width="100" dateformat="yyyy-MM-dd" headerAlign="center">到期时间
            <input property="editor" class="mini-datepicker" format="yyyy-MM-dd" style="width:107px;" value = ""/>
        </div>
    </div>
</div>  